import requests
import json
url = "https://view.inews.qq.com/g2/getOnsInfo?name=disease_other"
r = requests.get(url)
data=json.loads(r.text)
list_data=data['data']
test_data=json.loads(list_data)
lishi=test_data['chinaDayList']
order_list=list(reversed(lishi))

for r in range(7):
    print(order_list[r]['date'],order_list[r]['confirm'],order_list[r]['heal'])



# for i in range(0,10):
#     print(test_data['areaTree'][0]['children'][i]['name'],test_data['areaTree'][0]['children'][i]['total']['nowConfirm'])